/*  1:   */ package com.jetbrains.licenseService.requests;
/*  2:   */ 
/*  3:   */ import org.jetbrains.annotations.Nullable;
/*  4:   */ 
/*  5:   */ public class AuthorizationResult
/*  6:   */ {
/*  7:   */   private final boolean a;
/*  8:   */   private final Throwable b;
/*  9:   */   private final String c;
/* 10:   */   
/* 11:   */   public AuthorizationResult(boolean paramBoolean, String paramString)
/* 12:   */   {
/* 13:16 */     this.a = paramBoolean;
/* 14:17 */     this.c = paramString;
/* 15:18 */     this.b = null;
/* 16:   */   }
/* 17:   */   
/* 18:   */   public AuthorizationResult(Throwable paramThrowable)
/* 19:   */   {
/* 20:22 */     this.a = false;
/* 21:23 */     this.b = paramThrowable;
/* 22:24 */     this.c = null;
/* 23:   */   }
/* 24:   */   
/* 25:   */   public boolean isSuccess()
/* 26:   */   {
/* 27:28 */     return this.a;
/* 28:   */   }
/* 29:   */   
/* 30:   */   @Nullable
/* 31:   */   public String getResponseText()
/* 32:   */   {
/* 33:33 */     return this.c;
/* 34:   */   }
/* 35:   */   
/* 36:   */   @Nullable
/* 37:   */   public Throwable getError()
/* 38:   */   {
/* 39:38 */     return this.b;
/* 40:   */   }
/* 41:   */ }


/* Location:           E:\idea\
 * Qualified Name:     com.jetbrains.licenseService.requests.AuthorizationResult
 * JD-Core Version:    0.7.0.1
 */